package com.caipos.akka;

import akka.actor.ActorSystem;

/**
 * 提供ActorSystem的静态访问
 */
public class ActorSystemProvider {
    private static ActorSystem actorSystem;

    public static void setActorSystem(ActorSystem system) {
        actorSystem = system;
    }

    public static ActorSystem get() {
        return actorSystem;
    }
}
    